<!DOCTYPE html>
<html lang="en">
<head>
	<{include file="header.html"}>
	<title>学习卡管理-营销中心-<{$user_data['school_name']}>-德安信会计在线教育平台</title>
</head>
<body>
<div class="wrap">
	<!--star left-->
	<div class="column">
		<{include file="left_menu.html"}>
	</div>
	<div id="ContMianBox">
		<!--star子栏目-->
		<div class="sub-colum">
		    <div class="tit">营销中心</div>
		    <ul>
		        <li><a href="/marketing_wx">微信公众号</a></li>
		        <li><a href="/marketing_fx">分销管理</a></li>
		        <li class="curr"><a href="/marketing_card" >学习卡管理</a></li>
						
		    </ul>
		</div>
		<!--end子栏目-->
		<!--end left-->
		<div class="container narrow">
		    <!--star conter-->
		    <div class="cetContent">
					<div class="tit p-lr20">
					    <span class="curr">学习卡管理</span>
							
					</div>
					<!--star内容区域-->
					<div class="mainScroll">
					    <div class="mainContainer line-all">
					        <!--star tabMainCont-->
					        <div class="tabMainCont">
										<h3>&nbsp;</h3>
										<div class="ui-overview hide">
												<ul>
														<li>
														<h5>
														<a class="c-3b9eeb" href="#">0</a>
														</h5>
														<h6>今日分销佣金</h6>
														</li>
														<li>
														<h5>
														<a class="c-3b9eeb" href="#">0</a>
														</h5>
														<h6>今日分销订单</h6>
														</li>
														<li>
														<h5>
														<a class="c-3b9eeb" href="#">0</a>
														</h5>
														<h6>今日分享</h6>
														</li>
														<li>
														<h5>
														<a class="c-3b9eeb" href="#">0</a>
														</h5>
														<h6>今日分销会员</h6>
														</li>
												</ul>
										</div>
					            <!--star营销渠道-->
											<div class="tabMainCont">
												<!--star会员管理-->
												<fieldset class="layui-elem-field">
													<legend>筛选</legend>
													<div class="layui-field-box">
														<form class="layui-form layui-form-pane1" >
															<div class="layui-form-item">
																


																<div class="layui-inline">
																	
																	<a class="layui-btn" href="/marketing_card/add"><i class="layui-icon"></i> 生成学习卡</a>
																</div>
															</div>
														</form>
													</div>
												</fieldset>
												<!--商品列表 star-->
												<div class="goods_list p-t10">
													<div class="mtc_tab">
														<!--star mt-->
														<div class="mt">

															<a href="/marketing_card" <{if $status == -1}>class="curr"<{/if}>>全部</a>
															<a href="/marketing_card/index/1" <{if $status == 1}>class="curr"<{/if}>>已激活</a>

															<a href="/marketing_card/index/0" <{if $status == 0}>class="curr"<{/if}>>未激活</a>

														</div>
														<!--end mt-->
														<!--star mc-->
														<div class="mc">

															<div class="u_table_list m-t20">
																<!--star 商品-->
																<div class="table002">
																	<table>
																		<colgroup>
																			<col width="%">
																			<col width="%">
																			<col width="%">
																			<col width="%">
																			<col width="%">
																			<col width="%">
																			<col width="%">
																			<col width="%">
																		</colgroup>
																		<tbody>
																			<tr>
																				
																				<th>卡号</th>
																				<th>卡名称</th>
																				<th>密码</th>
																				<th>有效天数</th>
																				<th>价格</th>
																				<th>添加时间</th>
																				<th>是否激活</th>
																				<th>激活时间</th>
																				<th>激活用户</th>
																			</tr>
																		</tbody>
																		<tbody>
																			<{if isset($card_list) }>
																			<{foreach from=$card_list item=item}>
																				<tr>
																					<td class="not_lb tal">
																						<{$item[ 'card_num']}>
																					</td>
																					<td class="not_lb tal">
																						<{$item['title']}>
																					</td>
																					
																					<td class="not_lb tal">
																						<{$item[ 'card_pwd']}>
																					</td>
																					<td class="not_lb tal">
																						<{$item[ 'expire_day']}>
																					</td>
																					<td class="not_lb tal"><span class="c-ff6d5e">¥<{$item['price']|string_format:"%.2f"}>元</span></td>
																					
																					<td class="not_lb tal">
																						<{$item[ 'add_time']|date_format:'%Y-%m-%d<br/>%H:%M:%S'}>
																					</td>
																					<td class="not_lb tal">
																						<div class="colorBtn">
																							<{if $item[ 'is_activation']==0}>
																								<p><span>未激活</span></p>
																								
																								<{elseif $item[ 'is_activation']==1}>
																									<p><span>已激活</span></p>
																									<{/if}>
																						</div>
																					</td>
																					<td class="not_lb tal">
																					<{if $item[ 'is_activation']==1}>
																						<{$item[ 'activation_time']|date_format: '%Y-%m-%d<br/>%H:%M:%S'}>
																					<{/if}>
																					</td>
																					<td class="not_lb tal">
																						<{$item[ 'nick']}>
																					</td>
																				</tr>
																				<{/foreach}>
																				<{/if}>
																		</tbody>
																	</table>
																</div>
																<!--end 商品-->
															</div>
															<div class="pages p-tb20" style="text-align:right;">
																<{if isset($pagination)}><{$pagination}><{/if}>
															</div>
														</div>
														<!--end mc-->
													</div>

												</div>
												<!--商品列表 end -->
												<!--star会员管理-->
											</div>
					            <!--end营销渠道-->


					        </div>
					        <!--end tabMainCont-->
					        </div>

					    </div>
					</div>
					<!--end内容区域-->

		</div>


	</div>
</div>
<{include file="footer.html"}>
</body>
</html>
